﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SystemCenterSoa.DtoModel.Common;
using SystemCenterSoa.DtoModel.SystemManager;
using SystemCenterSoa.PoModel.SystemManager;

namespace SystemCenterSoa.IRepository.SystemManager
{
    public interface IAdminUserRepository
    {
        PagerResult<AdminUserPo> SearchPage(SearchModel searchModel);

        bool AdminUserPoAdd(AdminUserDto view);
        AdminUserPo GetAdminUserPoByUserName(string userName);
        AdminUserDto GetAdminUserDtoByUserName(string userName);

        bool AdminUserPoUpdate(AdminUserDto view);
        bool AdminUserPoPwdUpdate(string pwd, string userName);
    }
}
